#pragma once
#include <vector>
typedef int INTEGER;
typedef bool BOOLEAN;
typedef int LINENUM;
using namespace std;
class NextBip
{
private:
	vector<pair<LINENUM, LINENUM>> _table;
	INTEGER _size;
public:
	NextBip();
	BOOLEAN setNextBip(LINENUM line1, LINENUM line2);
	vector <pair<LINENUM,LINENUM>> getNextBipPair();
	int getNextBipSize();
	vector<LINENUM> getNextBip(LINENUM num2);
    vector<LINENUM> getBeforeBip(LINENUM num1);
	BOOLEAN isNextBip(LINENUM line1, LINENUM line2);
};

